Connection Trouble

Options > Connections "Show NMEA Debug Window" is Modal

Linux & MacOS Issue: Check display of the “NMEA Debug Window” and the “Connection window” simultaneously causes “Pause” and “Copy” to be are inactive. The connection window has to be closed first, then Pause works.

The Options window, in which the Connections are displayed, is what is called a modal window. Everything else is blocked until that window is closed. Modal windows make for simpler programming, which is why they are used.

For examining NMEA sentences, you could consider the MessageNMEAsampling script for the JavaScript plugin. It samples NMEA for a period and then reports what sentences have been seen together with their counts and then prints one sample of each. You can also configure it to display all of the sentences you are interested in. This is much easier than trying to tame the rush of sentences in the debug window.

Can OpenCPN receive multiple data streams from a USB hub?

In Options > Connections > Fransom GPSGATE virtual com port not seen.

In Connections > NMEA Data Window can an atypical message type be filtered?

Serial interface for NMEA0183 input -AIS data & navigation instruments- switch without reason

  1. This is an OS problem. your OS starts numbering with the first device coming up, and this is not always happen in the same sequence. The good news is you can tell your OS to give an fixed name to a fixed device, and you can use this fixed name in OpenCPN. see:
  2. Or use Openplotter and its “serial” for the same purpose :)

Flatpak Data port connection issues?

See CF Dataport Connection problem There are some things related to serial data ports, in particular on Flatpak. * There is a bug: https://github.com/OpenCPN/OpenCPN/issues/2528- * The port must be accessible. See https://github.com/OpenCPN/OpenCPN/blob/master/LINUX_DEVICES.md, the chapter on Device Access. * Even if the port is accessible it might not be visible in the UI. Two solutions. * The first is to write the name of the device, perhaps something like /dev/ttyUSB0 in the GUI (one don't have to select from the drop-down list, it's possible to enter the device name as well) * The second is to create a device link as described in https://github.com/OpenCPN/OpenCPN/blob/master/LINUX_DEVICES.md, the chapter on Fixed Device Names. Such links are visible in the GUI

A new point Flatpak point fix has been pushed for this issue. To update the Flatpak installation do

Code:

<alt2> $ flatpak update org.openpcn.OpenCPN </alt2>

Note that despite the patch, devices must still be accessible as described in https://github.com/OpenCPN/OpenCPN/b...NUX_DEVICES.md

Why doesn't OpenCPN recognize "localhost" as a source?

On Rpi I type Telnet localhost 10110 I see the stream of NMEA 0183 sentences coming from the Signalk Server. Apparently OpenCpn does not work that way.

OpenCPN does not recognize anything other than Q4 notation in the address field. “localhost” is a semi-standard shorthand notation, used on many systems and apps. In OpenCPN, Instead of “localhost”, use ip of 127.0.0.1. It is the same thing.

Function 'Filter NMEA/Course and Speed data' not honored if input thru Signal K

See #2292 If an NMEA 2000 GPS is connected and Signal K is used to read NMEA 2000 into OpenCPN the data will not honor the filter settings for NMEA/Course and Speed data. The course predictor will jump both in length and direction, not damped by the filter setting.

I can find also SOG/COG from SignalK data stream is passing the filter function. (by PostProcessNMEA()) But the filter function is by-passed if “Calculate SOG and COG from position changes” is enabled in Options→Ships→Own ship. Pls check. I was falling into that trap myself.

How exactly does NMEA 0183 HDG Sentence work?

If HDG message also contains the variation and E/W flags then O will use that. If not then it will look in RMC message for a variation. If nothing there it will use WMM plugin unless user has selected the variation manually in options.